package com.ljc.service;

import com.ljc.model.Admin;
import com.ljc.model.User;

import java.util.List;

public interface IUserService {

    User userLogin(User user);

    void register(User user);

    int selectId(User user);

    public User login(String username, String password);

    public int create(User user);
    public int delete(String username);
    public int update(User user);
    public List<User> query(User user);
    public User detail(Integer id);
    public int count(User user);
}